<template>
	<view class="main">
		<view class="active_tit">
			<view class="tit">
				海吉星
			</view> 
		</view>
		<block v-for="(item,index) in stdOffsurSceneHjx" :key='index'>
			<view class="main">
				<ActiveForm required  ref='category'>
					<view class="active_label">
						经营品类：
					</view>
					<view class="active_input">
						<SelectPicker v-model="item.category" :disabled="true" :options="categoryOption" placeholder="请选择" />
					</view>
				</ActiveForm>
				<ActiveForm required  ref='inGoods'>
					<view class="active_label">
						近12个月进货量：
					</view>
					<view class="active_input">
						<mInput :thousand='false' type="number" v-model="item.inGoods" />
					</view>
				</ActiveForm>
				<ActiveForm required  ref='outGoods'>
					<view class="active_label">
						近12个月出货量：
					</view>
					<view class="active_input">
						<mInput :thousand='false' type="number" v-model="item.outGoods" />
					</view>
				</ActiveForm>
				<ActiveForm required  ref='inAmount'>
					<view class="active_label">
						近12个月流水进账总额：
					</view>
					<view class="active_input">
						<mInput maxlength="16" type="number" v-model="item.inAmount" />
					</view>
				</ActiveForm>
				<ActiveForm required  ref='marDebtAmount'>
					<view class="active_label">
						申请人配偶负债总额：
					</view>
					<view class="active_input">
						<mInput maxlength="16" type="number" v-model="item.marDebtAmount" />
					</view>
				</ActiveForm>
				<ActiveForm required  ref='inMarketYears'>
					<view class="active_label">
						入驻本市场年限（月份数）：
					</view>
					<view class="active_input">
						<mInput :thousand='false' type="number" v-model="item.inMarketYears" />
					</view>
				</ActiveForm>
			</view>
		</block>
	</view>
</template>

<script>
	import SelectPicker from "../../SelectPicker";
	export default {
		name: 'activeForm',
		data() {
			return {
				province: "",
				city: "",
				county: "",
				index: 1,
				stdOffsurSceneHjx:[
					{
						businessId: "", //业务申请流水号
						category: "", //经营品类
						createTime: "", //创建时间
						createUser: "", //创建人
						customerId: "", //客户编号
						customerSystemId: "", //客户系统编号
						deleteFlag: "", //删除标志
						entityRoleType: "", //数据归属类型
						getDatTime: "", //数据加载时间
						imageUrl: "", //影像路径
						inAmount: 0, //近12个月流水进账总额
						inGoods: 0, //近12个月进货量
						inMarketYears: 0, //入驻本市场年限
						marDebtAmount: 0, //借款人配偶负债总额
						outGoods: 0, //近12个月出货量
						reqId: "", //业务申请序号
						sourceSystem: "", //数据来源系统
						updateTime: "", //更新时间
						updateUser: "", //更新人
						uuid: "", //uuid
						xh: "" //序号
					}
				],
				categoryOption:[]
			}
		},
		mounted() {
			//获取返显数据
			setTimeout(()=>{    
				//数据反显
				this.stdOffsurSceneHjx = getApp().globalData.stdOffsurSceneHjx
				this.categoryOption = getApp().globalData.optType.CATEGORY
			},getApp().globalData.timeout)
		},
		components: {
			SelectPicker
		},
		watch:{
			stdOffsurSceneHjx:{
				handler:function(res){
					//console.warn('stdOffsurSceneHjx组件数据变化',res)
					getApp().globalData.stdOffsurSceneHjx = res
				},
				deep:true
			}
		},
		methods:{
			
		}
	}
</script>

<style lang="scss">
	
	
</style>


